package vn.edu.ptithcm.pim.dto;



import java.util.ArrayList;
import java.util.List;

import org.apache.commons.collections.Factory;
import org.apache.commons.collections.list.LazyList;

import vn.edu.ptithcm.pim.dom.EmployeeFunctionInProject;


public class EmployeeFunctionInProjectDto {

	private List<EmployeeFunctionInProject> employeeFunctionInProjects;

	@SuppressWarnings("unchecked")
	public EmployeeFunctionInProjectDto() {
		employeeFunctionInProjects = LazyList.decorate(
				new ArrayList<EmployeeFunctionInProject>(), new Factory() {
					public Object create() {
						return new EmployeeFunctionInProject();
					}
				});
	}

	public List<EmployeeFunctionInProject> getEmployeeFunctionInProjects() {
		return employeeFunctionInProjects;
	}

	public void setEmployeeFunctionInProjects(
			List<EmployeeFunctionInProject> employeeFunctionInProjects) {
		this.employeeFunctionInProjects = employeeFunctionInProjects;
	}

}
